@import "../../../../styles/lib/icon";

.course-commentary-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.course-commentary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 16px;
}

.picker {
  padding: 4px 12px;
  border-radius: 8px;
  background-color: var(--bg-block);
  line-height: 1.5;
}

.course-item {
  display: flex;
  flex-direction: row;
  align-items: center;

  margin: 8px 16px;

  text-align: left;
}

.course-header {
  font-weight: bold;
  line-height: 1.5;
}

.course-info {
  flex: 1;
  margin-top: 4px;
  font-size: 14px;

  .icon-font {
    margin: 0 2px;
  }
}

.total-score {
  padding-bottom: 8px;
  font-weight: bold;
  font-size: 17px;
  line-height: 1.5;
}

.score-item {
  display: flex;
  padding: 8px 0;

  .text {
    flex: 1;
    font-size: 14px;
  }

  .answer {
    margin-left: 8px;
  }
}

.question-item {
  padding: 8px 0;
}

.question-title {
  margin-bottom: 4px;
  line-height: 1.5;
}

.score-selector {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.score-option {
  display: flex;
  margin: 4px 8px;
  font-size: 14px;

  radio {
    width: 14px;
    height: 14px;
  }
}

.commentary-textarea {
  box-sizing: border-box;
  width: 100%;
  height: 6rem;
  margin: 8px 0;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
